package com.cms.enums;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * 模型状态
 *
 */
public enum ModelStatus {

    DISABLE("禁用"),
    NORMAL("启用");
    public String text;
    ModelStatus(String text){
        this.text = text;
    }
    public String getText(){
        return this.text;
    }
    public static Map<Integer, ModelStatus> statusValueMap = new HashMap<>();
    static {
        ModelStatus[] values = ModelStatus.values();
        for (ModelStatus status : values) {
            statusValueMap.put(status.ordinal(), status);
        }
    }

}
